﻿using my.abp.Domain.Shared.Entities;
using Volo.Abp.Domain.Services;

namespace my.abp.Domain.IManagers.User
{
	public interface ISysUserRoleManager : IDomainService
	{
		public Task<List<SysRole>> GetUserRoleList(long userId);
		public Task GrantUserRole(long UserId, List<long> RoleIdList);
		public Task DeleteUserRoleByUserId(long userId);
		public Task<List<long>> GetUserRoleIdList(long userId);
		public Task<List<long>> GetUserIdList(long roleId);
		public Task DeleteUserRoleByRoleId(long roleId);
	}
}
